package com.cskaoyan.model.vx.vo;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author: ChenZhuqi
 * @Date: 2021/12/3 14:56
 * @Description: goodsdetailvo中的子vo
 */
public class MarketGoodsList {

        private Integer id;

        private String goodsSn;

        private String name;

        private Integer categoryId;

        private Integer brandId;

        private String[] gallery;

        private String keywords;

        private String brief;

        private Boolean isOnSale;

        private Short sortOrder;

        private String picUrl;

        private String shareUrl;

        private Boolean isNew;

        private Boolean isHot;

        private String unit;

        private BigDecimal counterPrice;

        private BigDecimal retailPrice;

        private Date addTime;

        private Date updateTime;

        private Boolean deleted;

        private String detail;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getGoodsSn() {
            return goodsSn;
        }

        public void setGoodsSn(String goodsSn) {
            this.goodsSn = goodsSn == null ? null : goodsSn.trim();
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name == null ? null : name.trim();
        }

        public Integer getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(Integer categoryId) {
            this.categoryId = categoryId;
        }

        public Integer getBrandId() {
            return brandId;
        }

        public void setBrandId(Integer brandId) {
            this.brandId = brandId;
        }

        public String[] getGallery() {
            return gallery;
        }

        public void setGallery(String[] gallery) {

            this.gallery =gallery;
        }

        public String getKeywords() {
            return keywords;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords == null ? null : keywords.trim();
        }

        public String getBrief() {
            return brief;
        }

        public void setBrief(String brief) {
            this.brief = brief == null ? null : brief.trim();
        }

        public Boolean getIsOnSale() {
            return isOnSale;
        }

        public void setIsOnSale(Boolean isOnSale) {
            this.isOnSale = isOnSale;
        }

        public Short getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(Short sortOrder) {
            this.sortOrder = sortOrder;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl == null ? null : picUrl.trim();
        }

        public String getShareUrl() {
            return shareUrl;
        }

        public void setShareUrl(String shareUrl) {
            this.shareUrl = shareUrl == null ? null : shareUrl.trim();
        }

        public Boolean getIsNew() {
            return isNew;
        }

        public void setIsNew(Boolean isNew) {
            this.isNew = isNew;
        }

        public Boolean getIsHot() {
            return isHot;
        }

        public void setIsHot(Boolean isHot) {
            this.isHot = isHot;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit == null ? null : unit.trim();
        }

        public BigDecimal getCounterPrice() {
            return counterPrice;
        }

        public void setCounterPrice(BigDecimal counterPrice) {
            this.counterPrice = counterPrice;
        }

        public BigDecimal getRetailPrice() {
            return retailPrice;
        }

        public void setRetailPrice(BigDecimal retailPrice) {
            this.retailPrice = retailPrice;
        }

        public Date getAddTime() {
            return addTime;
        }

        public void setAddTime(Date addTime) {
            this.addTime = addTime;
        }

        public Date getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Date updateTime) {
            this.updateTime = updateTime;
        }

        public Boolean getDeleted() {
            return deleted;
        }

        public void setDeleted(Boolean deleted) {
            this.deleted = deleted;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail == null ? null : detail.trim();
        }

}
